package com.diancan1.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author Dczzs
 * @since 2020-08-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class OrderSubtable implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 订单子表id
     */
    @TableId(value = "subtable_id", type = IdType.AUTO)
    private Integer subtableId;

    /**
     * 食物ID
     */
    private Integer foodId;

    /**
     * 食物价格
     */
    private BigDecimal foodPrice;


}
